<% content_for :title do %>Add a new comment<% end %>
<h1>Add a new comment</h1>

<%= simple_form_for [@user, @comment], html: { class: 'form-horizontal' }  do |f| %>
  <%= f.input :author %>
  <%= f.input :content %>
  <%= f.button :submit %>
<% end %>
